package ModelLayer;

public class Gun extends Product {
	
	private String gunFabric;
	private String gunCalibre;
	
	public Gun()
	{
		
	}
	
	public Gun(int productId, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int range, String description, String gunFabric, String gunCalibre, int supplier)
	{
		super(productId, name, purchasePrice, salesPrice, rentPrice, countryOfOrigin, range, description, supplier);
		//Supplier sup = new Supplier(supplier); // sup already made by super
		//this.setSupplier(sup); // set when created by super
		//Range ran = new Range(range); // ran already created by super
		//this.setRange(ran); // set when created by super
		this.gunCalibre = gunCalibre;
		this.gunFabric = gunFabric;
	}

	
/*	public Gun(int productId, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, Range range, String description, Supplier supplier, String gunFabric, String gunCalibre)
	{
		super(productId, name, purchasePrice, salesPrice, rentPrice, countryOfOrigin, range, description, supplier);
		this.gunCalibre = gunCalibre;
		this.gunFabric = gunFabric;
	}*/



	/**
	 * @return the gunFabric
	 */
	public String getGunFabric() {
		return gunFabric;
	}



	/**
	 * @return the gunCalibre
	 */
	public String getGunCalibre() {
		return gunCalibre;
	}



	/**
	 * @param gunFabric the gunFabric to set
	 */
	public void setGunFabric(String gunFabric) {
		this.gunFabric = gunFabric;
	}



	/**
	 * @param gunCalibre the gunCalibre to set
	 */
	public void setGunCalibre(String gunCalibre) {
		this.gunCalibre = gunCalibre;
	}

}
